package com.otp.service;

import com.otp.pojo.entity.Paper;
import com.otp.pojo.entity.PaperSubmission;
import com.otp.pojo.request.paper.*;

import java.util.List;

public interface PaperService {
    List<Paper> list();
    List<Paper> listByStatus(String status);
    Paper getById(Long id);
    Paper create(PaperCreateRequest request);
    Paper update(PaperUpdateRequest request);
    Paper publish(Long id);
    void delete(Long id);
    PaperSubmission submit(PaperSubmissionRequest request);
}